public class MethodDemo2{
    public static void main(String[] args){
        plus(10,20);
    }
    public static void plus(int num1,int num2){
        int result = num1 + num2;
        System.out.println(result);
    }
}